package com.gistone.commis.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gistone.commis.entity.Community;
import com.gistone.commis.entity.Depart;
import com.gistone.commis.entity.PropertyType;
import lombok.*;

import java.util.Date;

/**
 * Created by wangfan on 2017/5/1.
 */
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class QueryProperty {
    private Integer propertyId;

    private Integer communityId;

    private  Community community;

    private Integer departId;
    private Depart depart;

    private Integer applyUserId;

    private String propertyCode;

    private String propertyName;

    private Integer typeId;

    private PropertyType propertyType;

    private String supplier;

    private String propertyBrand;

    private String specificationType;

    private String useStatus;

    private String propertyAdd;

    private String configurationUnit;

    private Double propertyWorth;

    private String remarks;
    private String deployTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    private Integer count;

    private String serialNumber;

    private Integer isDelete;

    private Integer auditorId;

    private Integer addAuditState;

    private Integer delAuditState;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date scrapTime;

    private Boolean isScrap;

    private Integer propertyState;

    private Integer propertyQueryType;
    private Integer orderName;
}